package com.jt.dao;

import com.jt.pojo.User;
import org.springframework.stereotype.Repository;

/*<bean id="类名首字母小写--userDaoImpl class="UserDaoImpl.class">
    如果需要修改bean id 手动添加value属性
 */

@Repository//(value = "userDao")
public class UserDaoImpl implements UserDao {

    @Override
    public void addUser(User user) {
        System.out.println("添加用户:"+user);
    }

}
